package com.sgy.rpc.consumer;

import com.sgy.rpc.api.IUserService;
import com.sgy.rpc.consumer.proxy.RpcClientProxy;
import com.sgy.rpc.pojo.User;

/**
 * @author Administrator
 * @date 2025/8/31 18:05
 * @description 测试类
 */
public class ClientBootStrap {

    public static void main(String[] args) {
        IUserService userService = (IUserService) RpcClientProxy.createProxy(IUserService.class);
        User user = userService.getById(1);
        System.out.println(user);
    }
}
